UsbdDeviceReq Struct Reference

#include <src/usb/pspusbbus.h>


Detailed Description

USB device request, used by sceUsbbdReqSend and sceUsbbdReqRecv.


Data Fields

UsbEndpointendp
 Pointer to the endpoint to queue request on.
void * data
 Pointer to the data buffer to use in the request.
int size
 Size of the data buffer (send == size of data, recv == size of max receive).
int unkc
 Unknown.
void * func
 Pointer to the function to call on completion.
int recvsize
 Resultant size (send == size of data sent, recv == size of data received).
int retcode
 Return code of the request, 0 == success, -3 == cancelled.
int unk1c
 Unknown.
void * arg
 A user specified pointer for the device request.
void * link
 Link pointer to next request used by the driver, set it to NULL.


Field Documentation

void* UsbdDeviceReq::arg
 

A user specified pointer for the device request.

void* UsbdDeviceReq::data
 

Pointer to the data buffer to use in the request.

struct UsbEndpoint* UsbdDeviceReq::endp
 

Pointer to the endpoint to queue request on.

void* UsbdDeviceReq::func
 

Pointer to the function to call on completion.

void* UsbdDeviceReq::link
 

Link pointer to next request used by the driver, set it to NULL.

int UsbdDeviceReq::recvsize
 

Resultant size (send == size of data sent, recv == size of data received).

int UsbdDeviceReq::retcode
 

Return code of the request, 0 == success, -3 == cancelled.

int UsbdDeviceReq::size
 

Size of the data buffer (send == size of data, recv == size of max receive).

int UsbdDeviceReq::unk1c
 

Unknown.

int UsbdDeviceReq::unkc
 

Unknown.


The documentation for this struct was generated from the following file:
Generated on Tue Nov 21 11:46:06 2006 for pspsdk-1.0+beta2 by  doxygen 1.4.6